package net.diaowen.dwsurvey.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.diaowen.common.base.entity.IdEntity;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 答卷  excel持久化表
 */
@Entity
@Table(name="t_an_excel_fillblank")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AnExcelFillblank extends IdEntity {

	// 单元格内容
	private String answer;
	// 行id
	private String rowId;
	// 列id
	private String columnId;
	// 答卷id
	private String belongAnswerId;
	// 问卷id
	private String belongId;
	// 题目ID
	private String quId;
	// 状态：0-失效 1-有效
	private Integer state ;
	// 创建时间
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date createTime ;
	// 更新时间
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date updateTime ;

}
